﻿
using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dt261.ViewModel
{
    class HostViewModel : ViewModelBase
    {

        //private string host;
        //private bool isDeleteLocal;

        public string IsNotSuperUser
        {

            get
            {
                return GlobalData.IsSuperUser() == false ? "Visible" : "Hidden";
            }
        }

        public string Host { get => GlobalData.Host; set{ GlobalData.Host = value;  RaisePropertyChanged(); } }
        public bool IsDeleteLocal { get => GlobalData.IsDeleteLocal; set { GlobalData.IsDeleteLocal = value; RaisePropertyChanged(); } }

        public int HearingImageType { get => GlobalData.ImageType; set { GlobalData.ImageType = value; RaisePropertyChanged(); } }
    }
}
